package com.bobo.dao.category;

import com.bobo.dao.IBaseDao;
import com.bobo.model.Category;

import java.util.List;

/**
 * Created by bobo on 2016/10/16.
 */
public interface ICategoryDao extends IBaseDao<Category> {

    public Integer create(Category category);

    public boolean update(Category category);

    public Category getById(Integer id);

    public List<Category> getCategories(Integer current, Integer pageSize, Integer status);
}
